<%inherit file="/base.html"/>

<%def name="main_heading()">${_('Merging')}</%def>

<%def name="content()">

<form method="post">
	<h3>${_('Are you sure want to merge given records?')}</h3>
	<ul>
		% for record in c.records:
		<li>
			<span>${record}</span>
			<input type="hidden" name="ids" value="${record.id}"/>
		</li>
		% endfor
	</ul>
	<h3>${_('into one')}</h3>
	<h4>${c.one_record}</h4>
	<input type="hidden" name="record_id" value="${c.one_record.id}"/>
	<p class="right-aligned">
		<input class="warning-button big" type="submit" name="confirm" value="${_('Confirm')}"/>
	</p>
</form>

</%def>